package com.platform.admin.request.sms;

import com.platform.common.entity.BaseApiReq;
import com.platform.common.validator.ValidPhoneNumber;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: yuanlai
 * @create:2021-04-17-16:01
 */
@Data
@ApiModel("发送短信入参")
public class SendNoteDTO extends BaseApiReq {

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空")
    @ValidPhoneNumber
    private String mobile;

}
